package com.company.cloud.acct.modules.api.constant;

import com.company.cloud.common.constant.BaseCodeEnum;

public class AcctConstant {


    /**鉴权状态*/
    public enum AuthState implements BaseCodeEnum{
        AUTH_APPLY("1","未鉴权"),
        AUTH_ING("2","鉴权中"),
        AUTH_SUCCESS("3","鉴权成功"),
        AUTH_FAIL("4","鉴权失败"),
        ;
        private String code;
        private String msg;
        AuthState(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
        @Override
        public String getCode() {return code;}
        @Override
        public String getMsg() {return msg;}
    }

    /**鉴权方式*/
    public enum AuthType implements BaseCodeEnum {
        ELEMENT("1","四要素鉴权"),
        ;
        private String code;
        private String msg;
        AuthType(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }
        @Override
        public String getCode() {return code;}
        @Override
        public String getMsg() {return msg;}
    }



}
